﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000417 RID: 1047
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EIBJGPDMCNP : IMessage<EIBJGPDMCNP>, IMessage, IEquatable<EIBJGPDMCNP>, IDeepCloneable<EIBJGPDMCNP>, IBufferMessage
	{
		// Token: 0x17000D71 RID: 3441
		// (get) Token: 0x06002EEE RID: 12014 RVA: 0x000817CE File Offset: 0x0007F9CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EIBJGPDMCNP> Parser
		{
			get
			{
				return EIBJGPDMCNP._parser;
			}
		}

		// Token: 0x17000D72 RID: 3442
		// (get) Token: 0x06002EEF RID: 12015 RVA: 0x000817D5 File Offset: 0x0007F9D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EIBJGPDMCNPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000D73 RID: 3443
		// (get) Token: 0x06002EF0 RID: 12016 RVA: 0x000817E7 File Offset: 0x0007F9E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EIBJGPDMCNP.Descriptor;
			}
		}

		// Token: 0x06002EF1 RID: 12017 RVA: 0x000817EE File Offset: 0x0007F9EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EIBJGPDMCNP()
		{
		}

		// Token: 0x06002EF2 RID: 12018 RVA: 0x000817F6 File Offset: 0x0007F9F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EIBJGPDMCNP(EIBJGPDMCNP other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002EF3 RID: 12019 RVA: 0x0008180F File Offset: 0x0007FA0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EIBJGPDMCNP Clone()
		{
			return new EIBJGPDMCNP(this);
		}

		// Token: 0x06002EF4 RID: 12020 RVA: 0x00081817 File Offset: 0x0007FA17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EIBJGPDMCNP);
		}

		// Token: 0x06002EF5 RID: 12021 RVA: 0x00081825 File Offset: 0x0007FA25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EIBJGPDMCNP other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06002EF6 RID: 12022 RVA: 0x00081844 File Offset: 0x0007FA44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002EF7 RID: 12023 RVA: 0x0008186A File Offset: 0x0007FA6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002EF8 RID: 12024 RVA: 0x00081872 File Offset: 0x0007FA72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002EF9 RID: 12025 RVA: 0x0008187B File Offset: 0x0007FA7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002EFA RID: 12026 RVA: 0x00081894 File Offset: 0x0007FA94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002EFB RID: 12027 RVA: 0x000818BA File Offset: 0x0007FABA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EIBJGPDMCNP other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002EFC RID: 12028 RVA: 0x000818D7 File Offset: 0x0007FAD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002EFD RID: 12029 RVA: 0x000818E0 File Offset: 0x0007FAE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001282 RID: 4738
		private static readonly MessageParser<EIBJGPDMCNP> _parser = new MessageParser<EIBJGPDMCNP>(() => new EIBJGPDMCNP());

		// Token: 0x04001283 RID: 4739
		private UnknownFieldSet _unknownFields;
	}
}
